package com.wwwarehouse.contract.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by zhenwang.xiang on 2017/10/24.
 * Description:商品明细bean
 */

public class ConstractOrderDetailsBean implements Parcelable {

    /**
     * address : 中国浙江省杭州市江干区下沙街道
     * aliPay : 0
     * bank : 0
     * businessName : 网仓科技
     * contractTime : 2017-10-24 14:21:34
     * itemCount : 30
     * logoUrl : 2
     * mobilePhone : 测试内容h5fv
     * offline : 0
     * orderPay : 0
     * periodPay : 1980
     * receiveName : 程伟
     * skuCount : 2
     * totalPrice : 1980
     * wechatPay : 0
     */

    private String address;
    private double aliPay;
    private double bank;
    private String businessName;
    private String contractTime;
    private String itemCount;
    private String logoUrl;
    private String mobilePhone;
    private double offline;
    private double orderPay;
    private double periodPay;
    private String receiveName;
    private String skuCount;
    private String totalPrice;
    private double wechatPay;
    private String contractId;
    private String orderStatus;

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setAliPay(double aliPay) {
        this.aliPay = aliPay;
    }

    public void setBank(double bank) {
        this.bank = bank;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public void setContractTime(String contractTime) {
        this.contractTime = contractTime;
    }

    public void setItemCount(String itemCount) {
        this.itemCount = itemCount;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public void setOffline(double offline) {
        this.offline = offline;
    }

    public void setOrderPay(double orderPay) {
        this.orderPay = orderPay;
    }

    public void setPeriodPay(double periodPay) {
        this.periodPay = periodPay;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public void setSkuCount(String skuCount) {
        this.skuCount = skuCount;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public void setWechatPay(double wechatPay) {
        this.wechatPay = wechatPay;
    }

    public String getAddress() {
        return address;
    }

    public double getAliPay() {
        return aliPay;
    }

    public double getBank() {
        return bank;
    }

    public String getBusinessName() {
        return businessName;
    }

    public String getContractTime() {
        return contractTime;
    }

    public String getItemCount() {
        return itemCount;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public double getOffline() {
        return offline;
    }

    public double getOrderPay() {
        return orderPay;
    }

    public double getPeriodPay() {
        return periodPay;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public String getSkuCount() {
        return skuCount;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public double getWechatPay() {
        return wechatPay;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.address);
        dest.writeDouble(this.aliPay);
        dest.writeDouble(this.bank);
        dest.writeString(this.businessName);
        dest.writeString(this.contractTime);
        dest.writeString(this.itemCount);
        dest.writeString(this.logoUrl);
        dest.writeString(this.mobilePhone);
        dest.writeDouble(this.offline);
        dest.writeDouble(this.orderPay);
        dest.writeDouble(this.periodPay);
        dest.writeString(this.receiveName);
        dest.writeString(this.skuCount);
        dest.writeString(this.totalPrice);
        dest.writeDouble(this.wechatPay);
        dest.writeString(this.contractId);
        dest.writeString(this.orderStatus);
    }

    public ConstractOrderDetailsBean() {
    }

    protected ConstractOrderDetailsBean(Parcel in) {
        this.address = in.readString();
        this.aliPay = in.readDouble();
        this.bank = in.readDouble();
        this.businessName = in.readString();
        this.contractTime = in.readString();
        this.itemCount = in.readString();
        this.logoUrl = in.readString();
        this.mobilePhone = in.readString();
        this.offline = in.readDouble();
        this.orderPay = in.readDouble();
        this.periodPay = in.readDouble();
        this.receiveName = in.readString();
        this.skuCount = in.readString();
        this.totalPrice = in.readString();
        this.wechatPay = in.readDouble();
        this.contractId = in.readString();
        this.orderStatus = in.readString();
    }

    public static final Parcelable.Creator<ConstractOrderDetailsBean> CREATOR = new Parcelable.Creator<ConstractOrderDetailsBean>() {
        @Override
        public ConstractOrderDetailsBean createFromParcel(Parcel source) {
            return new ConstractOrderDetailsBean(source);
        }

        @Override
        public ConstractOrderDetailsBean[] newArray(int size) {
            return new ConstractOrderDetailsBean[size];
        }
    };
}
